package com.td.core.obj;

import com.td.core.obj.utils.PointConverter;
import com.td.core.obj.utils.TDVector;

public abstract class TDRealObject extends TDObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private TDVector realPosition;
	
	public TDRealObject(int x, int y) {
		super(x, y);
		realPosition = PointConverter.toTDVector(new TDPoint(x, y));
	}
	
	public TDVector getRealPosition() {
		return realPosition;
	}

	public void setRealPosition(TDVector realPosition) {
		this.realPosition = realPosition;
	}
}
